{% extends "base.html" %}
{% block title %}@{{ owner_user.screen_name }}'s favorite tweets.{% endblock title %}
{% block head%}
<script src="/js/common.js"></script>
<script src="/js/tweet.js"></script>
{% if token_user.geo_enabled %}<script src="/js/geo.js"></script>{% endif %}
{% if owner_user %}{% include "user-style.html" %}{% endif %}
<style type="text/css">#TweetForm{display:none;}</style>
{% endblock head %}
{% block main %}
{% include "user-profile.html" %}
{% include "tweet-form.html" %}
{% include "user-nav.html" %}
<div id="Timeline">
	<div id="Tlheading">@{{ owner_user.screen_name }}'s favorite tweets.</div>
	{% if favorites.error %}
		<ul class="tweets">
			<li class="nothing"><img src="/images/lock.gif" />{{ favorites.error }}</li>
		</ul>
	{% else %}
		<ul class="tweets">
		{% if favorites %}
		{% for tweet in favorites %}
			{% include "tweet.html" %}
		{% endfor %}
		{% else %}
			<li class="nothing">No tweets here.</li>
		{% endif %}
		</ul>
	{% endif %}
	<div id="pagination">
	{% if prev_page %}<a class="prev" href="{{ self.current }}?page={{ prev_page }}">previous page</a>{% endif %}
	{% if next_page %}<a class="next" href="{{ self.current }}?page={{ next_page }}">next page</a>{% endif %}
	</div>
</div>
{% endblock main%}
{% block side %}
{% include "side.html" %}
{% endblock side %}